﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hi_Baidu;

namespace Hi_Baidu.FileShare.ListType
{
    /// <summary>
    ///     当前接收文件总属性类型
    /// </summary>
    public class TYPE_RecvFileTotalInfomation : IMetaData
    {
        public TYPE_RecvFileTotalInfomation(String Key)
        {
            key = Key;
        }

        private String _Username;
        /// <summary>
        ///     发送人姓名
        /// </summary>
        public String Username
        {
            get { return _Username; }
            set { _Username = value; }
        }

        private String _FilePath;
        /// <summary>
        ///     文件保存路径
        /// </summary>
        public String FilePath
        {
          get { return _FilePath; }
          set { _FilePath = value; }
        }
        private String _FileSession;
        /// <summary>
        ///     当前文件传送会话ID
        /// </summary>
        public String FileSession
        {
            get { return _FileSession; }
            set { _FileSession = value; }
        }
        private int _FileSize;
        /// <summary>
        ///     文件大小
        /// </summary>
        public int FileSize
        {
            get { return _FileSize; }
            set { _FileSize = value; }
        }
        private String _FileName;
        /// <summary>
        ///     文件名称
        /// </summary>
        public String FileName
        {
            get { return _FileName; }
            set { _FileName = value; }
        }
        private String _FileExt;
        /// <summary>
        ///     文件后缀名
        /// </summary>
        public String FileExt
        {
            get { return _FileExt; }
            set { _FileExt = value; }
        }

        public List<TYPE_DetachFileData> Packages = new List<TYPE_DetachFileData>();

        #region IMetaData 成员
        private String key;
        public string Key
        {
            get
            {
                return key;
            }
            set
            {
                key = value;
            }
        }

        #endregion
    }
}
